package com.spddr.pmos.repos;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;

import com.spddr.pmos.jpa.Reservoir;

public interface ReservoirRepos extends JpaRepository<Reservoir, Long> {
	List<Reservoir> findByRiverId(long river);

	List<Reservoir> findBySpillsIntoId(long reservoir);
}
